package com.my.object;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "enrollment")
public class Enrollment {
	@Id
	@Column(name="id")
	private int id;
	@Column(name="course_impl_id")
	private int course_impl_id;
	@Column(name="student_id")
	private int student_id;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getCourse_impl_id() {
		return course_impl_id;
	}

	public void setCourse_impl_id(int course_impl_id) {
		this.course_impl_id = course_impl_id;
	}

	public int getStudent_id() {
		return student_id;
	}

	public void setStudent_id(int student_id) {
		this.student_id = student_id;
	}

	@Override
	public String toString() {
		return "Enrollment [id=" + id + ", course_impl_id=" + course_impl_id
				+ ", student_id=" + student_id + "]";
	}

}
